Current Location: Home> Function Categories> is_nan

is_nan

Determine whether it is a legal value
Name:is_nan
Category:math
Programming Language:php
One-line Description:Determine whether it is a legal value.

Definition and usage

is_nan() determines whether it is a legal value.

Example

 <?php
echo is_nan ( 200 ) ;
echo is_nan ( acos ( 1.01 ) ) ;
?>

Try it yourself

grammar

 is_nan ( x )
parameter describe
x Required. Specify the value to be checked.

illustrate

If x is "non-numeric", such as the result of acos(1.01), returns true.

Similar Functions
  • Round the division result intdiv

    intdiv

    Roundthedivisionresu
  • Leave the method of sorting floor

    floor

    Leavethemethodofsort
  • Determine whether it is a legal value is_nan

    is_nan

    Determinewhetheritis
  • Hyperbolic cosine cosh

    cosh

    Hyperboliccosine
  • Generate better random numbers mt_rand

    mt_rand

    Generatebetterrandom
  • Convert radians to corresponding angles rad2deg

    rad2deg

    Convertradianstocorr
  • Further method to sort ceil

    ceil

    Furthermethodtosort
  • Convert hexadecimal to decimal hexdec

    hexdec

    Converthexadecimalto
Popular Articles